From: Jasper St. Pierre Date: Sun, 3 Nov 2013 21:18:39 +0000 (-0500) Subject: app-system: Fix memory leak X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3084 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=09fe31179aaf0ddf3e4786b61f8011431a5e72d5;p=gnome-shell.git app-system: Fix memory leak The shell app takes a ref on the info. --- diff --git a/src/shell-app-system.c b/src/shell-app-system.c index 70bcb862a..476290994 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -142,6 +142,7 @@ shell_app_system_lookup_app (ShellAppSystem *self, app = _shell_app_new (info); g_hash_table_insert (priv->id_to_app, (char *) shell_app_get_id (app), app); + g_object_unref (info); return app; }